Set "Everything" as a default scope SharePoint 2013

Hi All,

I have enabled scopes in my search box and am able to see the scopes "Everything", "People", "Conversations" and "This Site" in the drop down. And by default search box searches in "This Site" scope and shows the text as "Search this site". I have a requirement that search box should have scopes drop down enabled and search in the scope "Everything" by default and search box should show " Search Everything". Is it possible to configure this order? I tried in the search settings of site collection but didn't find any option to configure the same.

Please help me with your inputs or any workaround.

Thanks.

August 30th, 2013 2:02pm

Hi Rajani,

For this issue, I'm trying to involve someone familiar to further look at this.

Thanks,

Free Windows Admin Tool Kit Click here and download it now
September 1st, 2013 4:14pm

Hi Team,

Waiting for your reply.

Thanks.

September 5th, 2013 5:32am

Hi Rajani,

I tried to look for answers, but seems you need to make new scopes as you want for the terms 'new everything'.

there are some scopes at sharepoint 2013 as default, and these scopes are already set as default.

I suggest that you do the following workaround at development stage.

http://en.share-gate.com/blog/sharepoint-2013-search-settings-and-search-box-drop-down-menu

http://www.cardinalsolutions.com/blogs/portals/2012/11/search_in_sharepoint.html

http://preachingsharepoint.blogspot.in/2013/03/sharepoint-2013-search-result-pages.html

http://stevemannspath.blogspot.in/2013/03/sharepoint-2013-adding-people-to.html

http://blogs.office.com/b/sharepoint/archive/2012/09/28/overview-of-search-in-sharepoint-2013.aspx

Free Windows Admin Tool Kit Click here and download it now
September 5th, 2013 9:45am

Hi Rajini,

do you have a solution for this ? we have an exact requirement and I am unable to find a solution...please share how did you go about achieving it

setting "Everyone" as default Search Scope , I mean "Result Sources" on All Site Collections and subsites....

October 24th, 2013 5:50pm

What I did was copy the search webpart from the mysite masterpage. I noticed the mysites were all going to my central search site and had "everything" as default.

You have to also put the register statement directly above the line for the search webpart (not at the top of the page)

Of course this means you are no longer using the delegated webpart.

Replace the normal search webpart on your masterpage with this (this goes inside of <div id="searchInputBox"> if you're using seattle):

this is from my master html page:

 
<!--SPM:<%@ Register Tagprefix="SEARCHWC" Namespace="Microsoft.Office.Server.Search.WebControls" Assembly="Microsoft.Office.Server.Search, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>-->
<!--SPM: <SEARCHWC:SearchBoxScriptWebPart runat="server" id="searchInputBox" TryInplaceQuery="false"  DefaultDropdownNodeId="1001" ServerInitialRender="true" UseSharedSettings="true" ChromeType="none" EmitStyleReference="false" __WebPartId="{830A3A85-0D7A-42DB-8428-B07A8CBAE4FF}"/>-->

Free Windows Admin Tool Kit Click here and download it now
October 24th, 2013 6:01pm

So, there is not easy solution for this then? What the heck? Why was SharePoint 2010 easier in allowing you to set a default scope for the search box?

Sorry, but having a search box that doesn't let you change the default scope is pointless if you're trying to provide quick global results for impatient users. It's stuff like this that hurts SharePoint user adoption, stop breaking what isn't broke, Microsoft.

December 18th, 2013 10:43pm

By default, on a typical master page, the Search Control looks like this:

<SearchWC:SearchBoxScriptWebPart ID="SearchBoxScriptWebPart1" UseSiteCollectionSettings="true" EmitStyleReference="false" ShowQuerySuggestions="true" ChromeType="None" UseSharedSettings="true" TryInplaceQuery="false" ServerInitialRender="true" runat="server" __WebPartId="{2243C4B0-F63F-4573-B39E-3A60BA773508}" />

I found adding the DefaultDropdownNodeId attribute, and setting to value to 1001 did the trick:

<SearchWC:SearchBoxScriptWebPart ID="SearchBoxScriptWebPart1" DefaultDropdownNodeId="1001" UseSiteCollectionSettings="true" EmitStyleReference="false" ShowQuerySuggestions="true" ChromeType="None" UseSharedSettings="true" TryInplaceQuery="false" ServerInitialRender="true" runat="server" __WebPartId="{2243C4B0-F63F-4573-B39E-3A60BA773508}" />

  • Proposed as answer by ataw Tuesday, February 25, 2014 3:57 PM
Free Windows Admin Tool Kit Click here and download it now
February 20th, 2014 8:56am

No code or master page editing solution:  http://community.office365.com/en-us/f/154/t/244788.aspx

To achieve the goal, you can go to configure search navigation.

Here are the steps for your reference:
1. Go to the Site settings page, click Search Settings under Search.
2. In the section of Configure Search Navigation, click Add Link to add the the following links:
1). Title = Everything; URL = <root site collection URL>/search/pages/results.aspx
2). Title = People; URL = <root site collection URL>/search/pages/peopleresults.aspx
3). Title = Conversations; URL = <root site collection URL>/search/pages/conversationresults.aspx
4). Title = This Site; URL =<Current site URL>/_layouts/15/osssearchresults.aspx
Note: The top option will be the default. 
3. Click OK.
Note: It's available for the site level, not the site collection level. That is, if you want to set this requirement on all sites in the site collection, it's required to set them one by one.


  • Edited by Tracy'S 13 hours 8 minutes ago
March 6th, 2015 2:19pm

No code or master page editing solution:  http://community.office365.com/en-us/f/154/t/244788.aspx

To achieve the goal, you can go to configure search navigation.

Here are the steps for your reference:
1. Go to the Site settings page, click Search Settings under Search.
2. In the section of Configure Search Navigation, click Add Link to add the the following links:
1). Title = Everything; URL = <root site collection URL>/search/pages/results.aspx
2). Title = People; URL = <root site collection URL>/search/pages/peopleresults.aspx
3). Title = Conversations; URL = <root site collection URL>/search/pages/conversationresults.aspx
4). Title = This Site; URL =<Current site URL>/_layouts/15/osssearchresults.aspx
Note: The top option will be the default. 
3. Click OK.
Note: It's available for the site level, not the site collection level. That is, if you want to set this requirement on all sites in the site collection, it's required to set them one by one.


  • Edited by Tracy'S Friday, March 06, 2015 7:19 PM
Free Windows Admin Tool Kit Click here and download it now
March 6th, 2015 7:17pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics